if [ -z $1 ];then
    echo 'usage: ./clip_dir <MediaRootPath>'
else
    ls -1th $1/*.mp4 > temp.list
    for FILE in `cat temp.list`
        do
            python clip_single_opencv.py $FILE &
        done
    rm temp.list
fi

